import request from '@/utils/request'

// 查询盈利预测科目列表
export function listDealIndicatorPredictSubjects(query) {
  return request({
    url: '/subjects/dealIndicatorPredictSubjects/list',
    method: 'get',
    params: query
  })
}

// 查询盈利预测科目详细
export function getDealIndicatorPredictSubjects(id) {
  return request({
    url: '/subjects/dealIndicatorPredictSubjects/' + id,
    method: 'get'
  })
}

// 保存盈利预测科目
export function saveDealIndicatorPredictSubjects(data) {
  return request({
    url: '/subjects/dealIndicatorPredictSubjects/save',
    method: 'post',
    data: data
  })
}

// 删除盈利预测科目
export function delDealIndicatorPredictSubjects(id) {
  return request({
    url: '/subjects/dealIndicatorPredictSubjects/' + id,
    method: 'delete'
  })
}

// 导出盈利预测科目
export function exportDealIndicatorPredictSubjects(query) {
  return request({
    url: '/subjects/dealIndicatorPredictSubjects/export',
    method: 'get',
    params: query
  })
}
